home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000441_news@watsun.cc.columbia.edu _Thu Apr 15 21:28:30 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA11687
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Apr 1999 21:28:30 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id VAA14724
  7.     for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Apr 1999 21:03:20 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: john_cosimano@my-dejanews.com
  10. Subject: Re: Can kermit take its configuration from stdin? (Unix)
  11. Date: Fri, 16 Apr 1999 00:37:45 GMT
  12. Organization: Deja News - The Leader in Internet Discussion
  13. Message-ID: <7f60oo$ihc$1@nnrp1.dejanews.com>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <7f5gkv$r1o$1@newsmaster.cc.columbia.edu>,
  17.   fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  18. > In article <7f5f9b$2vp$1@nnrp1.dejanews.com>,
  19. >  <john_cosimano@my-dejanews.com> wrote:
  20. > : I am trying to figure out if there is a way to have kermit take its
  21. > : configration file from stdin.
  22.  
  23. > No.  Why not just pass the device name on the command line?  Example:
  24. >
  25. >   kermit -l /dev/ttyS0
  26. >
  27. > Or in a shell script:
  28. >
  29. >   kermit -l $1
  30.  
  31. Yeah, that's what I'm doing now. I have a bunch of configuration files, and I
  32. wrote my wrapper script so that kermit gets called like: `kermit -y
  33. /usr/lib/kermit/configs/some_config_file`. The problem I was looking to solve
  34. is that if I want to make a change to the configuration files, I now have 256
  35. files on which to make the change. I figured if I could make kermit get it's
  36. configuration from stdin, I would only have one file...
  37.  
  38. Oh, well, there is more than one way to skin a cat. Thanks for following up.
  39.  
  40. --John
  41.  
  42. -----------== Posted via Deja News, The Discussion Network ==----------
  43. http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own